package com.bestv.bsr.core.service.impl.ah.dto;

import lombok.*;

import java.util.List;

/**
 * @author sys
 * @create 2022/12/6 16:36
 * @desc 安徽中移物联接口返回结果
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AHZYWLResponseDto {

    private Integer code;
    private String message;
    private ZYWLRespData data;

    @AllArgsConstructor
    @NoArgsConstructor
    @Builder
    @Data
    @ToString
    public static class ZYWLRespData {

        private String id;
        private String trace_id;
        private String appid;
        private List<ZYWLRespCates> cates;
    }

    @AllArgsConstructor
    @NoArgsConstructor
    @Builder
    @Data
    @ToString
    public static class ZYWLRespCates {

        private String display_tracker;
        private String catename;
        private String catenameType;
        private List<ZYWLRespItems> items;
    }

    @AllArgsConstructor
    @NoArgsConstructor
    @Builder
    @Data
    @ToString
    public static class ZYWLRespItems {
        private String cornerurl;
        private String cornerposition;
        private String itemname;
        private String cpid;
        private Integer weight;
        private String cls;
        private String param1;
        private String param2;
        private String param3;
        private String pkg;
        private String picurl;
        private String itemid;
        private String apkurl;
        private String backtype;
    }
}
